runtime.schedt.gFree (field)
26 uses
runtime (current package)
mgcmark.go#L295: lock(&sched.gFree.lock)
mgcmark.go#L296: list := sched.gFree.stack
mgcmark.go#L297: sched.gFree.stack = gList{}
mgcmark.go#L298: unlock(&sched.gFree.lock)
mgcmark.go#L315: lock(&sched.gFree.lock)
mgcmark.go#L316: sched.gFree.noStack.pushAll(q)
mgcmark.go#L317: unlock(&sched.gFree.lock)
proc.go#L4657: lock(&sched.gFree.lock)
proc.go#L4658: sched.gFree.noStack.pushAll(noStackQ)
proc.go#L4659: sched.gFree.stack.pushAll(stackQ)
proc.go#L4660: sched.gFree.n += inc
proc.go#L4661: unlock(&sched.gFree.lock)
proc.go#L4669: if pp.gFree.empty() && (!sched.gFree.stack.empty() || !sched.gFree.noStack.empty()) {
proc.go#L4670: lock(&sched.gFree.lock)
proc.go#L4674: gp := sched.gFree.stack.pop()
proc.go#L4676: gp = sched.gFree.noStack.pop()
proc.go#L4681: sched.gFree.n--
proc.go#L4685: unlock(&sched.gFree.lock)
proc.go#L4741: lock(&sched.gFree.lock)
proc.go#L4742: sched.gFree.noStack.pushAll(noStackQ)
proc.go#L4743: sched.gFree.stack.pushAll(stackQ)
proc.go#L4744: sched.gFree.n += inc
proc.go#L4745: unlock(&sched.gFree.lock)
proc.go#L4860: n := int32(atomic.Loaduintptr(&allglen)) - sched.gFree.n - sched.ngsys.Load()
runtime2.go#L816: gFree struct {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |